import request from '@/utils/request1'

// 开票信息分页
export function getList(params) {
  return request({
    url: '/invoiceInformation/list',
    method: 'POST',
    params
  })
}

// 开票信息添加
export function addOpenballot(data) {
  return request({
    url: '/invoiceInformation/add',
    method: 'POST',
    data
  })
}

// 查询单条
export function selectOpenballot(params) {
  return request({
    url: '/invoiceInformation/load',
    method: 'POST',
    params
  })
}

// 删除开票信息
export function deleteOpenballot(data) {
  return request({
    url: '/invoiceInformation/delete',
    method: 'post',
    data
  })
}

// 修改开票信息
export function updateOpenballot(data) {
  return request({
    url: '/invoiceInformation/update',
    method: 'post',
    data
  })
}
